# Makefile

CC = g++
OPTIMISATION = -O2
CFLAGS = $(OPTIMISATION) -march=native -Wall -I. -L.
OBJS = InsertionSort.o BubbleSort.o SelectionSort.o QuickSort.o MergeSort.o HeapSort.o my_lib.o Experiment.o


.cpp.o:
	$(CC) $(CFLAGS) -c -o $@ $<
.SUFFIXES: .cpp .o

all: $(OBJS)
	$(CC) $(CFLAGS) $(OBJS) -o Experiment

clean:
	rm -v *.o Experiment || /bin/true
